package com.one2one;

/**
 * Reader entity. @author MyEclipse Persistence Tools
 */

public class Reader implements java.io.Serializable {

	// Fields
	private Integer readerId;
	private String name;
	private Boolean sex;
	private String email;
	private Idcard2 idcard2;

	// Constructors

	/** default constructor */
	public Reader() {
	}

	/** full constructor */
	public Reader(String name, Boolean sex, String email) {
		this.name = name;
		this.sex = sex;
		this.email = email;
	}

	// Property accessors

	public Integer getReaderId() {
		return this.readerId;
	}

	public void setReaderId(Integer readerId) {
		this.readerId = readerId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getSex() {
		return this.sex;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	public Idcard2 getIdcard2() {
		return idcard2;
	}

	public void setIdcard2(Idcard2 idcard2) {
		this.idcard2 = idcard2;
	}

}